package com.sk.skop.demo.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@ToString
@Data
@ConfigurationProperties(prefix = "children")
public class Children {

    private String name;
    private  Integer age;
    List<String> loves;
}
